﻿using LsKeyboardCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace LsKeyboard
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if(args!=null&& args.Length>0&&!string.IsNullOrEmpty(args[0]))
            {
                string key = args[0].ToLower();
                if(key == "full" || key == "f")
                {
                    Application.Run(new FullKeyboardForm());
                }
                else
                {
                    Application.Run(new NumericKeyboard());
                }
            }
            else
            {
                Application.Run(new NumericKeyboard());
            }
        }
    }
}
